package com.zjgsu.nftplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ahy231
 * @date 2022/3/29 15:59
 * @description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("父子作品关系")
public class Parents {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    @ApiModelProperty("父作品nft id")
    private Long parent_id;
    @ApiModelProperty("子作品nft id")
    private Long kid_id;
}
